﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="Corina.Web.IMS.Register" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>注册</title>
    <style>
        .register {
            margin-bottom:15px;
        }

        .toolbar {
            background-color:transparent;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <fineUI:PageManager runat="server" />
        <div style="position: relative; margin-left: auto; margin-right: auto; width: 650px; margin-top: 20px;">
            <fineUI:SimpleForm ID="form_reg" runat="server" Title="注册" ShowHeader="True" BodyPadding="10px" EnableFrame="true">
                <Items>
                    <fineUI:TextBox 
                        runat="server" 
                        Required="true"
                        ShowRedStar="true" 
                        CssClass="register" 
                        ID="_userAccount" 
                        Label="账户"/>
                    <fineUI:TextBox runat="server" Required="true" ShowRedStar="true" CssClass="register" ID="_userPassword" Label="密码" TextMode="Password" />
                    <fineUI:TextBox runat="server" Required="true" ShowRedStar="true" CssClass="register" ID="tbxConfirmPwd" Label="确认密码" TextMode="Password" CompareControl="_userPassword" CompareOperator="Equal" CompareMessage="两次输入的密码不一致，请重新输入！" />
                    <fineUI:TextBox runat="server" Required="true" ShowRedStar="true" CssClass="register" ID="_userName" Label="名称" EmptyText="个人填写姓名，其他填写单位名称。" />
                    <fineUI:RadioButtonList 
                        runat="server" Required="true" ShowRedStar="true" CssClass="register" ID="_userKinds" Label="帐号类型"  DataValueField="Id" DataTextField="Title" />
                    <fineUI:DropDownList 
                        runat="server" ID="_userIndustry" CssClass="register" ShowRedStar="true" Required="true" EnableEdit="true" ForceSelection="true" DataTextField="Title" DataValueField="Id" Label="所属行业" />
                    
                    <fineUI:TextBox runat="server" CssClass="register" ID="_userLinkman" Label="联系人" EmptyText="请填写联系人的姓名或其他称呼，如张三或张总。"  />
                    <fineUI:TextBox runat="server" CssClass="register" ID="_userMobile" Label="电话号码" EmptyText="可填写手机号码或带区号的座机号码。"  />
                    <fineUI:TextBox runat="server" CssClass="register" ID="_userEmail" Label="电子邮件" EmptyText="格式为：xxxx@xxxxxx.xxx" />

                    <fineUI:TextArea runat="server" AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="100" Label="注册条款" Readonly="true"/>
                    <fineUI:CheckBox runat="server" CssClass="register" ID="_agreePolicy" Text="我同意以上协议并继续注册。" Checked="true" ShowEmptyLabel="true" OnCheckedChanged="_agreePolicy_CheckedChanged" AutoPostBack="true"/>
                </Items>
                <Toolbars>
                    <fineUI:Toolbar runat="server" Position="Footer" ToolbarAlign="Right" CssClass="toolbar">
                        <Items>
                            <fineUI:HyperLink runat="server" CssStyle="float:left;margin-right:20px;" NavigateUrl="./Login.aspx" Text="返回登录"/>
                            
                            <fineUI:Button ID="button_reg" runat="server" Text="注册" OnClick="button_reg_Click" ValidateForms="form_reg" ValidateTarget="Top"/>
                        </Items>
                    </fineUI:Toolbar>
                </Toolbars>
            </fineUI:SimpleForm>
        </div>
    </form>
</body>
</html>
